make constructor of Config private, fix format