add a convenient Sprite class and use it to draw the 2d stuff