implemented insertEvent, added check method for categories, impl IncorrectObjectException, added some commentary