removed more traces of inital flask testing code from production code