Started writing SourceDataBuffer and related classes.