Implemented config.from_envvar and introduced new Config class