Add console backend.

Effectively copy-paste of Graphite backend.