finished classes index and classesController