Add configuration for default average color which not using gd.

Added in a couple of clean ups regarding the service provider and studly.