moved m:n reflection to BaseMapper
removed forgotten injection in profiles
added type hinting and simplified some getters