create todo and history.