Split manifest loading code out of the Manifest class