Revise library code. Version 1.0.0