Global Onewire

I would like to put this in my setup

Why?

I am not sure how to globalize this object when I instantiate it within the setup.

Again, why not simply declare it as a global variable, if that is what you are trying to end up with?