Added parsing for local, global and private message events

Also added a logger that logs the events to files