Added license file and imported time in views.py to fix bug.