add basic command line parsing