Move preferencesmanager module to tf diretory to support the new TF API.
Remeber to update all imports
Move preferencesmanager module to tf diretory to support the new TF API.
Remeber to update all imports