Set up the server and the beginnings of the router