Initial implementation of plugin