Configure Spring