uploaded to back up proggess

this is a working src code for the plug in.  it need to be compiled with plugin.yml and config.yml.