Rename lib to vendor
Remove run.sh
Add tests
Reorganize code