[DEV] start rework buffer manager in resource