Began work on buffer class.