setup course resource by adding belongsToMany relationship and creating a pivot table in place of schedules. Also created views for course resource actions with functionality for adding and removing classes