Add command line parser to swe_simple