Made structural refactoring of global elements
Made sturctural refactoring for canvas helper
Refactored canvas helper
Refactored dialogs helper