taskplanner final refactoring
works ;)