Added Config class for managing configuration.