Created MainConsole class and running script