Separating similarity control
Separating training control
Adding basic filtered cursor query