add simple request class to simplify code