Precompiling and caching on production for faster load time; changed .listen to .handle, to be used within any HTTP handler method, because it's easier to explain.