configuring spring