Added event parsing.
Merge branch 'mr' of github.com:pbs/flowy into mr