Moved flask specific files for app detection to root folder