Move arg parse class to a function in api.utils

Much more flexible (user can set their own arg parser a,nd retrieve the
parsed args
Fix comment
Quickly: add a call to api.utis.parse_command_line_args
Call parse_command_line_args