Add nesting when a new todo is made

Cowboy edit from github (tested on local)