added bundlr middleware, cleaned up server.