moving http server to dependencies