adding sinon to dependencies.
Switching over to swig for more elaborate templating.