first cut of consumer functionality and tests
Merge branch 'master' of https://github.com/vly/haystack