Create transactionFactory.cpp