Base factory class has been created and integrated into the plugin class.