implementing an initial version of the plugin in sextante