change type of parameters passing to events data structures
update definition of Event grammar
reorganize "grammar" into package
reorganize "structures" into package
rename constants
tidy up helpers tests
define 'UserHasConnected' event
refactor events tests
define 'UserHasDisconnected' event
define 'UserHasWentToMenu' event