View Profile and templates

Deleted unwanted files

flake8 errors

Changes according to comments