add command and events.
add dbstore module with in memory repositories implementation.
Merge branch 'master_2' into console-ui

Conflicts:
	settings.gradle