Refactor to better parse command line arguments