refactored jpp_insight_app.py using pep8 + expanded commenting