use a prototype object rather than a closure
create an abstraction for a collection of nodes
add abstraction for a chain of nodes
add dependency on context
add chain and node-collection to index
expose samples and context to user
fix spacing
add chain function and allow params to be passed as fn
correct the order to allow limiting the num of iterations
update to latest build