Building a Buffer Manager