Added 3D game configuration and a drawCube method