Base class for resources, pairing of Model and Controller.