implemented add feature, closes #1

(link to ticket)

This implements the add function

Verification
---------------
Run mocha unit tests