Initial code.
Initial working version of plugin.