Add functionality to create Transaction record