Main file for main plugin.