moved server code to cloud