Initial server code

Initial server code