Moved deployment lookup and creation into mock service host