Remove System.Configuration depency.
Added the option to use command-line arguments.