initial commit of plugin code