Created abstract class for fragment which is used for linking entities with other ones (e.g. link one teacher with multiple subjects and link ths stuff with groups)
The first implementation of LinksFragment was created - SubjectsOfTeacherFragment - it works))