Refactoring loading of application for CLI and HTTP