added plugin function file
removed unneeded gitignore lines