Added plugin files. An alpha version which needs refactoring.