Divide the code into environment, agent and similar modules.
Divide the code into environment, agent and similar modules.