Create the main structure for handling the terminal behaviour. In other words, create the main loop. - Create "exit" command.