Remove allTasks

Removed variable alltasks, now marker themselves store their respective
tasks and they load the tasks from the database only when they don't
contain any tasks. All the modifications are done to them