Refactor study management

Timo requested to merge refactor-study-management into master

Maybe we'll have to discuss rewrites before splitting it up somehow...

Merge request reports