updated code to handle params

Signed-off-by: prassee <prassee>
removed all dep in client side api

Signed-off-by: prassee <prassee>