Adding the main method for calling the plugin [WIP]