first library version with some examples