split the rendering process up a bit
Added some functions for graphics objects