parse command line options
parse command line in static main not in object.