Moved promise to new app module. Moved wait() to web module. Everything
<4kb now again..