refactor (structure and lint) ui code
Merge branch 'UIV2' of https://github.com/capensis/canopsis into UIV2