add buffer manager
delete no use files