Simplified the api by removing the Params object.

This pull requests reduces the number of lines of code while simplifying the API and solving an open issue that prevented the tests from running (Fixes #4)

I hope you like the new syntax as much as I do :)