Finished animation engine, untested

cleaned up more stuff, added time functionality, and game state tracker,
and finshed the niamtion eingine, but it is untested. also game maps is
not working since i am updating it to work with binray files and that is
not necessary for a long time.