Adding and configuring ToDoItem class