Cleanup for libary use
Add tests
Test suite working
Documentation
Use previous document datas