Change Index to TimeStamps

Earlier tasks were represented using index numbers under id column in
the database, but now they are being represented as the time they were
created under the same column.
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