Removed more code and added a set method ro JSONSet.
Merge pull request #4 from nomad010/feature/factory

Removed more code and added a set method ro JSONSet.