Initial work on server and routing