Fix bugs and introduce Adapter class. Also "CubesClient.instance" is now "Cubes.getClient()" and "CubesServer.instance" is now "Cubes.getServer()". Disabled permissions on setCubes and on setMenu.