Move configuration classes into different packages.