added time passing listener
narrowed down some structures and compared to bacon.js
reading in a key press using jline2