Make web interface use Flask