added spring based configurations for client