first attempt at the exercises model and controller