Add configuration and logging