refactor for examerizer to take exam creation out of the main file