Moved server code from orayen to server dir