uwsgi needs a callable to be able to run Flask apps.

- Added an app callable for server and ivs.