Add commandline option parsing