Added base resource class that allows GET, POST, PUT and DELETE requests.