Using a more "ruby" way of defining settings.

Also:
- Removed key configuration (not needed anymore)
- Added user agent setting
added option to use proxies