Backend function draft
Updated event comments
Publish events correctly
Only use one put function

The data will take care of the rest.
Added logger for subgame data
Merge remote-tracking branch 'upstream/master'