Adding a processing time counter in MainConsole class