Creating a singleton camera class to handle repositioning of axes and panning of the screen.