Working version.  Separated the command line script from the application logic
changed ToDo list