added todo item model and db relationship