Creates the DirectDraw object, sets the screen resolution and creates and attaches the front and back buffer.