Basic implementation of the plugin complete.

This is now ready for beta-testing.