Adding domain config, updating code style.