First commit - add plugin files

Still very much a WIP.