Remove test code from main.
Add message hub WIP (does not compile).