The server side of cubo