Basic working implementation of Rx for cursor.

However, I need to drastically change the intraction between upstream and downstream. WIP