Remove obsolete code.
Add optional configuration file command-line parameter, and split the user/database try block into two.
Add optional configuration file command-line parameter.
Use unordered stages, and add optional configuration file command-line parameter.