add first version of the library
update README with more info and sample