create a new instance of todo