adding config and logging
.