add basecal teacher, company, course relation