Added comments to the Hub class
Add runtime flag to switch between spaces