minor tweaks
bits of optimization
convert closures into objects
api cleanup, more tests
switch coll and f order in APIs, benchmark tweaks