Move view file from views.py to file.py
further refactor