add parseArgs to the top level module