Add api route to web app.
Fix bug in uframework core.