setup new Type class and StructField class