added connectToDoListOutput method in ProgramController class