implements basic functions.
Now, you can use buffer-environment and \getbuffer. But \typebuffer is not implemented.