Added LogSystem class.