Move client-side Transaction model to its own file to be reused on the user profile page.