Implement generate, encode and decode

Implement generate, encode and decode commands taken from command line
interface, handled by functions. Use OSX default source of randomness.
Add README and LICENSE