Moved validation to Todo model