rewrite buffer-manager to reduce message passing/gc stress
more specific imports