Cleanup

Updated docstrings, cleaned up imports, and collapsed mass_relate into
string_similarity