Created webview.py to encapsulate the status render behavior