adding task and taskmanager classes
now simmilar tasks are considered equal
now only tasks that do not exists in the store are added