Complete the text-based UI for the hub
Move command line to its own file