Start of todo app logic and UI.