refactored code to rubocop specs, added gemspec, improved README