Class Library for bb Analysis and Radiopurity Assessment