Added categories to lessons and subjects