Basic func in system and agentcontroller put together.

Made basic functions for the overall system to work and referenced them
at appropriate places in AgentController.
Also created list of parameters in Perception and list of goals and
actions in AgentController.