[api] move webui as into api engine