cleaning up. now sharing localdatamanager between multiple classes.