Extracted plugin functionality and made the mount manager use it.
Move plugins variable to plugin trait.
Merged the extracted plugin feature