Added SpriteController class