Plugin Upload Start

Started the logic of uploading a plugin, but having issues with the
primary key. Still working on it, but help is appreciated