Split up the setup and colouring of the terminal in separate modules.