tweaking names
move LoggerWithStats to its own file