add version.rb and re-structur
adapt gemspec