finished todo.py, except for styling