Rewrite server module, create loading index page