Initial commit - plugin framework but not working

Just the framework of the plugin at this stage.