moved some of the collections code into public repo, added a simple example