add config and flask imports