start of generating table creation sql, fixed field types (integer/text), correctly reformat field names by converting spaces to underscores.