initialize spring