Remove Flask wrappers which are better done by nginx

Relevant to #130.