added method for get spent time of task
removed "started_at" field from types;
change name of methos;