created a request base class