added a config handler class