Initiated todo.txt; refactored to have controls decoupled from the UI