Initial commit

Added basic plugin code
All tests pending