Now refactoring Sprite class