Refactor.  Remove all but base funcions
Add dump_{schema,table} functions
Add Section comments and header comment