Updated findMatches to accept a callback which returns matches to the client