added main class on plugin