Major refactoring.

- Use client instead of connect
- Allow to load credentials from config file
- query only last 6 hours of orders