add extra variables to context when opening app shell
move db manage commands to sub manager