Initial implementation of the plugin