Added models.py to declare classes and modified views.py to test classes with sample data