Adjust some class. Add some Junit. Change version to 1.0.0