use an object for configuration, so as to be more extensible. modify applications which use the API to match.