Why do we need a base.py to do this? We could just add this to app.py, which is essentially the base app object for marketplace.