Version 1.1.2

Refactor the entire plugin in a object oriented approach.
Some performance fixes.