Added early version of sql search