create main plugin file