Add the terminal check, add a class skeleton to handle the application as a CLI application.