[webui] refactory service model a bit