Make app a module itself.
Use Jinja templates to render content.
Add JSON request handler for API calls.
Add crossdomain file.

This is required by Unity and Flash games, and perhaps others.