changed how state works, added some state and animation test code to the game project