Added sql printout and table creation
Adding tests and gnurf insert