LocalDataManager refactor

Broke up localdatamanager