Added plugin metadata, refactoring plugin code and move in correct package, removed old files.