adds creation of multiple domains
nicer error msgs for none promise moduls