Migrate /web/upload/ to Flask
Migrate /visir/ to Flask
Fix logging issues