Changed from instatiable object and exposed/tested the nwglobal module