Some improvements (params, fix tests, fix auth)

Added params and packages class, and fix some typos
typo?