Adding new table for recorded SQL statements

Also removed some unnecessary imports.

Waiting on server changes (extracting json stuff) before testing.