rewrote app.js to better accommodate tape.
rewrote tests in tape.
added testling rules to package.json