Implemented storage of tasks
Added task persistence