separation of constructor from BaseConsole