Modified datastructures for folder and todo, adding  functions on todo listing