minimize spring configuration