Add scaffolding for distance based relation matcher