Add argparse support
Refactor headers
Refactor printing of name and id
Refactor error checking and output