Clean up of Bob to group into type declarations, consts, vars, then funcs.
Clean up of Bob to group into type declarations, consts, vars, then funcs.

ElementsProject/confidential-assets-demo,ElementsProject/confidential-assets-demo,ElementsProject/confidential-assets-demo,ElementsProject/confidential-assets-demo