simple to-do list app. starting unstructured, refactoring to follow mvc pattern