allow Plugin to be directly used as a main class