add todo class with title and isCompleted attributes