initial import
initial version of the command line parser;
merged with local version