Altered so all app configuration comes from config file instead of command line.