refactor the library to use a listener

Leverage a listener instead of a hard init to the collection as
outlined in this post:
http://stackoverflow.com/a/19715217