Add additional constructor for TaskList to take in task and event lists.