'Create a configuration object by reading the
automatically-discovered config files for the application for a
given name. If `modname` is specified, it should be the import
name of a module whose package will be searched for a default
config file. (Otherwise, no defaults are used.) Pass `False` for
`read` to disable automatic reading of all discovered
configuration files. Use this when creating a configuration
object at module load time and then call the `read` method
later.'

def __init__(self, appname, modname=None, read=True):

    super(Configuration, self).__init__([])
    self.appname = appname
    self.modname = modname
    self._env_var = '{0}DIR'.format(self.appname.upper())
    if read:
        self.read()
