Fleshed out graphics class.