Updated app framework to accept a settings file instead of assuming command line parameters