make it more lib-like. first step: object-oriented dashboard-stuff
[frontend] code refactoring, object orientation, removed config -> configuration via js-calls in html