add getParam to Params
use stages param for pipeline stages
add spark-sql as dep
wrap lr
add a test (not working)