Refactoring class wrapper + add listener to jmenu pluging