 module.exports.defaultPlugins = defaultPlugins
 module.exports.registerContentPlugin = registerContentPlugin
 module.exports.registerTemplatePlugin = registerTemplatePlugin
+module.exports.extend = extend
+module.exports.rfc822 = rfc822
 module.exports.logger = logger
+module.exports.readJSON = readJSON


async = require 'async'
{logger} = require './common'
{ContentTree, ContentPlugin, registerContentPlugin} = require './content'
{TemplatePlugin, loadTemplates, registerTemplatePlugin} = require './templates'
renderer = require './renderer'

# expose api
module.exports.renderer = renderer
module.exports.loadTemplates = loadTemplates
module.exports.loadContents = loadContents
module.exports.loadPlugins = loadPlugins
module.exports.ContentTree = ContentTree
module.exports.ContentPlugin = ContentPlugin
