Fleshing out the graphics class