reads arguments, returns values for options in assoc array args is the array containing arguments. arg0 (executable name) should not be included in this command is the string in which the provided command will be "returned" errors is the array to put any errors in
validates if all the values provided for options are correct
stores the default density
stores the version