old_contents: """Entrypoint to start app."""
  
  
  from cvrminer.app import app
  
  
  if __name__ == '__main__':
      app.run(debug=True)
  
new_contents: """Entrypoint to start app."""
  
  
  from cvrminer.app import create_app
  
  
  app = create_app()
      
  if __name__ == '__main__':
      app.run(debug=True)
  
subject: Change app to factory