Initial commit containing basic commands, events and persistence