spendometer source code