Source Code for TKP Java Library