Total refactoring of plugin
Added .gitignore