initial commit of working cmdline parsing