Add configuration handler