Parameters are now directly added to the algorithm dictionary

Parameters in the algorithm dictionary are no longer wrapped in a params dictionary but directly added to the algorithm dictionary. This is conform the newer specs.

I've Updated both the library and the app. All tests of the demo still pass.