made an addcomponent function and a new component template
add component collection and add it to show syllabus route/view