updated routing
added server hook to handle requests - for later use
trying to fix html -> module