Init plugin class