Defining TransactionService