Added controller to transactions and tests. WARNING: NEED TO ADD MORE FIELDS\!