added command line options (configuration file and --verbose option). also, dos2unix'd everything.