Using params to create the mc client

Fixing bottlepy/bottle-extras#16 I hope, unittests pass, but would love for people to try this branch before merging it to mainline...