WIP on chat handler; add hogan.js for templates