Started working on global framework to replace singleton.py