Remove references to Flask

Currently we require Flask, import it and don't use it for anything.
This patch simply removes these references.

Change-Id: If5b326cc77e392ad7438ae5d0caac0b599e5a580
Merge "Remove references to Flask"