Modified QueryParser to use the new Query Class

SelectedSyn is now stored as vectore