brico returns an event stream
split repl into seperate module _repl
mv dbWriteStream to dbMapStream