factor out winston-specific parts of the API
add a few more cairo functions, and organize exports