- DRY-ing main/index and application layout with little hot fix
- fix root_path