create gemspec and base class