pub fn loader(plugins_dir: &str) -> Result<PluginsManagerType>
Load all plugins, commands and events.