NewSearch will now take Connection as argument