Make all fuzzymatcher code in a single function

This makes it much easier to create multiple fuzzymatcher objects if
desired.