Added centralized setting

It has the batch subgradient analysis built in as well.