move http server start into Server module
move rest of relevant code into module Server