refactor, unit tests, and license update
Merge branch 'master' of https://github.com/supertylerc/decrypt