refactor relationship match score + unit test suite + begin to test usermapper