start of transactionService, and some tests