Flask Key added

Added Flask Key
Moved m_util to main UI
A small Null but fix regarding null pointers