MovingSprite class and new sprite hierarchy