Removed old code.
Isolated Rails-specific code.
Added require statement for Base64.
Merge pull request #21 from getvero/ruby

Remove Rails dependancy