use Pillow instead of PIL
make application available for uWSGI