Refactoring Resources::Base class