added http server, logging