implemented command line parsing
refined command line parsing
Merge branch 'driver-redesign'