added version.rb
fixed up some stuffs and added search method for gems
added Rakefile