Version 0.8.0
Expose res and use common options

Fixes #3