Old tests to be deleted
Changed views to templates

Fixed associated references in application.py