fully fleshed out the agent class, added some butchered code at the bottom to test it all out.