change id of MANIFEST.MF and refactory engine