converted Todo to use SQLAlchemy ORM