adding Amortization initial java class into repo