Update gemspec and cleanup overall code base.