First version of server code added