Remove unnecesary tests
Refactor lib
Create an example