Modify : The string value associated with all the date is fixed as "YYYY-MM-DD" type.
If if November 6, 2014, before the modification was marked by 2014-11-6. But this is a format that can not be the ORDER BY.
So any date value displayed as 2014-11-06 and it is to be an Order by.
Refactoring : Make a function take out the ToDo Item in one.
Refactoring : Change the Class and function names associated with the DB in a more intuitive