Clarify readability of argument parsing and add comments