add example to README, fix libs