Add decodeTask and listTasks fn
Add test for saving and listing of tasks