0.1: Rewriting lib
0.1: Add more comments