added exports.match() for unit test
added - app.js to pull modules together