converted linux to the new plugin architecture, completed the base plugin class