Setting up spring from scratch