Add Todo class and tests