Created base plugin class