added new functions to the materia model and changed the main controller to show only materias regulares in the main view