Update plugin to be compatible with IntelliJ platform 13
Simplify implementation