add field list and add commands.
reorder defes and classes same as norikra-client-ruby.