simplify creat_table interface
add options to create custom primary id and type with shorthand format