http.gatewayexposes your beanpole routes over HTTP.
http.serverstarts up the http server.
http.middlewaremiddleware for http specific routes
First off, use this block of code wherever you want to include the http beans:
//sets add a require path to the app;var router = ;router//load all the beansrouter;//or load them individuallyrouter;