Another configuration constructor to help manage key value pairs