Config parameters can now be removed. Grouped the related functions closer to each other in config.cc.