Move configuration methods to config object