added possibility to set categories for event and loading them when editing an event
fixed some messages
updated TODOs
added categories column in event table
removed empty array elements
changed format of categories in event table