Encapsulate Twyg as a Modular Pattern

Working towards a Modular Pattern and future separation of twig.js into
separate libraries