Implemented Sample Data Generator

Created a folder with sample data templates and a script with sample
data generator.
Implemented tests.py and modified views.py

Created the tests.py to put test cases and modified views.py to add
query() method to accompany the test case.