use sources/scripts instead of src/lib
lot of works, remove mimosa,  rebuild with tests