add gunicorn
adapted for heroku
improved filtering, now with timeout