Modifying inheritance so PluginManager class inherits from GenericProcessor; Adding friendship between two