Add SourceBuffer class