[AssetFactory] Added base class for asset factories.