Implimented condtructor for SDLGraphics