Refactored Sprite into BaseSprite and GameObject.

And added a first implementation for the InputHandler class.