Add base class for creating resource providers