Moved animation to a single function. Added basic pause functionality, added some gameStates functionality, minor refactoring.