Tweaks to __init__.py, setup.py and logging

- Moved all metadata into __init__.py and import it into setup.py
- Added logging of request/response in api.py