Modeling Complex Systems of Chemical Reactions