Add new function for adding todo
Revert to "Add ability to create todo with code"

This rolls back to commit "Add ability to create todo with code"