Move DecayingSample.h to common/
[BEAST] Add missing includes
Tidy up common/
Move core implementation to impl/, add missing includes