clean up plugin directory structure

(cherry picked from commit 075912005210419d17bfa1bbaf9c95f62c5ad875)
gitignore for plugins

(cherry picked from commit d33cd80ccbffdd47d98356f5b770bff492e486e0)