It seems weird to me to have this extracted-out just for use in the REPL.  Is that common with the 'reloaded' pattern?  Also, what useful things can you do with `main-app` in the REPL?