attached global object to app namespace