added Documentation to AddCategory and AddEvent.
Merge branch 'Daniel'