Clean code
Add document and clean test code