auto gen columns from attributes
fix generated columns, add type class
multi-type autogen, got the algo working for missing values