Refactored the ToDo Table so that it is a partial
Created some bugs on test database