Change TokenManager to attribute of export

TokenManager no longer the value of exports, this facilitates
namespacing