added json as a runtime dependency
ignored swp files
removed yaml as a dependency from gemspec
defined constructor and fetch function in base class