The Collector SDK source files are in the collector-sdk-base directory while, the sample codes for reference are included in the collector-sdk/examples directory.