add comments to pack.go
change type.go to ipc.go