Revision #1 - Promises, Tests, and Changes

Added promises
Formatted text properly
Changed functions to use parameters instead of unnecessary options
Added basic tests (mocha)
Updated example and docs
Updated package.json