init code refactorization - global var

Hrm, so we're still exposing two globals, confusingly: `Branch` and `branch`