static void Main(string[] args) { try { // Create the main class MamaListen listen = new MamaListen(); // Start the application listen.run(args); } catch (Exception except) { // Display the message Console.WriteLine(except.Message); } }