add cp and document

1. add cp class
2. add document class'
3. add rspec for cp