ID in Subtransactions model
Removed  from Subtransaction
Created database interface and removed test/transactions.php