Now that the query library is ready for use, we must re-implement actions in todo and make use of it.