refactoring, add generate manifest, add rare sources from bnd for resolver