removed logging
fixed existing confidence generation
cleaned up create_matcher