Refactoring for implementing 2D sprites. Also added a 2D camera.