add class field and reformate main
add object Field