pothos-library: create and install buffer manager logic