some style changes and basic hub handlers implemented