Refactor getUnambiguousLocation into Database clase