fix routes.js building, add webserver