Update and rename config.py to agent.py