Finished adding SamplingDataLayer. In theory everything should work now,
not tested yet.