Added lib and example with the library