Yahoo api client refactoring, unit test added.