Moving webserver to own module file