Implemented windowed cursor
- implemented long running transaction on cursor
- take natural order as default
removed scoping