Updated gemspec and Gemfile to auto register dependencies