reorganize  & add some comments to ccDirectives.