Moves logic from controller to ToDoService
Adds comments
Cleans up CSS and controller.