Fix variable scope
Add DeviceFormatters class
Include client types in chart title