Creates TaskItem class and modifies EventItem class