init plugin class and command