Add task and pack task classes, database imitation