Added slice type. Refactored buffers to use slices.