add basis for cube
remove include guard
json stringify for easier reading
remove dead code
update proto and include operations in 'inspect' result