refactor frontend code
Merge branch 'master' of https://github.com/capensis/canopsis-webcore