add spring configuration