Added new classes for entity and metadata resource config.