Add local_buffer class