Pass another object to the main flask application,app.run()