Removed config_dir from the call to create_domain. 
That should be done in domain_config class instead.

Changed an error message.