Initial commit for server code