setting up spring