created scaffold todo and added validation