moving RequestFactory into http package