add params.c, .h
define params interface.