Implemented State Machine

Added State Machine to Game, SpriteBatchExt