api changes

- added reactive scope
- cursor based api for collection