Rewrite command line parser using tclap instead of GNU getopt