Creates controller for student and test