making changes to agentbased and a few to turtle. Had to move class definition to header file so we could use it, and made states internal turtle variables, as that makes more semantic sense. If it becomes too much of a hassle though, with prefixing, we can remove that simply with find and replace