Fixing pylint errors for main_app.py