Base framework for working with prismic using node.js