Add Sprite class with some boilerplate code.