refactor .collection as more generic .endpoint
add test for .endpoint
add to Readme

version bump