Initial server code added