I removed all references to Flask in __init__.py code file. As long as...
I removed all references to Flask in init.py code file. As long as variable app is None (in the AudioDataReader class) the code works. This maybe fixed the global variables problem. Yet untested.
Merging globals into algorithm.