Refactoring

* This refactoring focused on the structural issue(previously it was one giant file for the Processing.js).
* Now it has at least separated classes to handle own logic.