Some changes to globals
Decoupled TestData class from hub so that it can be used by a WebApi