moved class FinanceTransaction from core to api