Created controller for exercise