added subclass for task, Work_block and time calculation