Added add_common_args() method to simplify arg processing.

This should simplify the arg processing method some.