added testing file and worked on agent.py
controller design added