ported into bundler gem format
added version