C.T. Ravi appears before CID