Database utils reformat, table creation