rework angular app, module, ai, stukko and base routes and controllers.