add base class for all the resources
- added auth method for the basic auth in HTTParty