Main console programm