Minor code cleanup and started http server.