added query stubs for hopefully all the tables, and some completed queries