Design Changes

WorldStateMachine is now a member of Agent. This does away with the
need to reference an instance of worldStateMachine every time a method
from Agent is called.