add an in memory database to store the todos