Add thing.js and implement message types.