initial commit of a simple buffer implementation