add bookkeeping.class.php