Initial work on server.