Gem refactoring

Not published to RubyGems yet.
http://guides.rubygems.org/make-your-own-gem/
Initial ruby gems release

v0.1.0
Merge pull request #2 from adamlazz/gem

Pull gem refactor to master