Add `NewApp()` function for initializing cli (!108)