moved system streams to ConsoleLogger to allow embedding