split data manager to 2 parts