split decorator
moved generate_reactions into network.py