moved graphics to its own class