adding handlebars to global scope. introducing preferences