[api] move the webui engine classes into the api structure

I was tired of looking for always having to grep in 2 directories. Now everything is below app/

@ancorgs: the next step is getting rid of the engine completly imo