Switch to use format for pretty printing rather than print
Re-oxygen

Fixes #2, thanks @lcolladotor
id accessors for messages and threads

Should close #4