add constructor for setting initialization parameters (v 0.5.0)

Change-Id: Iac99b95f412b0e14ccf3cf273b104eb10a42f5d7