install Flask-API
rev requirements
re-add distribute to requirements. grr.
resolve import problems and tidy up