Stav dette: A framework for task based learning