moves the methods of BufferExtensions into other classes
removes BufferExtensions class