Implement todo functionality