finished ToDoDB and HabitDB along with tests