Add initial codes for cmor tool