create model & ddl