V 1.0.2

Add some detial comments, make code more readable