refactored experiment configuration, much more flexible and requires less code now