move semantic similarity engine to core folder