Improved code quality.
Added Generic2DSprite as parent for every class where it makes sense