whole new version using puppetdb v2 api
update readme