Split Transaction class into own file