Set up Transaction object so they can be sent to DB