Adding client constructor