Restructure file
Adds unit testing
Fix MIT license
Hook unit testing up with Travis
Use cryptographically random numbers
bump semver to 1.0.1