Setting up a SurfaceView class