Created library and example