Sorting out the main controller and plugins to upload