Add cloud server code