remove hardcode mapping prefix key
refactoring code
add helper methods
add entity links check
Remove hardcode relationship selector name
All relationships should work (need testing)