added class file and gave credit to NoSQL