Removed length variable from commands and removed ThreadManager
instances
Moved getPluginList function to PluginManager