Added console printing functions. Fixed up naming in hub library.