push class to simplify writing http reqs