setup spring
reference for spring