split spring configuration classes