remove building json object in POST
small refactor to clean up HtmlBuilder
start webserver thread outside constructor