Updated Transaction repository constructor