Move Transaction to Model