Fixed inheritance problem with model and collection.
Added fuzzy match function to dictionary.