Added framework to have assignment-handlers with different dependecies. Fixed 3 condition study to use new framework.