Filled out Transaction Repo, minor refactoring