add server and routes