Fix code style
Fix compiler code style
Add setter for plain data fields
Rename init_root to write_struct
Add setter for handwrite_capnp.lua
Use the same way to init sub struct as T:init()
Use write_list function to init a list
Add setter for sub struct