added transaction and transaction repo classes.