Add  params handling
Merge pull request #1 from vanaf/master

Add  params handling