Refactored SampleBuffer into SampleSource & SampleBuffer

Fixed up namespaces for library refactor.
29 files changed