Refactor of munin::host