Fix module dependency hierarchy  for esb assemblies