Add route and template for app root
Improve script loading and add app init script