Add activerecord queries / methods
Make it pick out the required transactions
First implementation of the version history table
* check! must be a class variable
* version_history.rb: typo in def name initialize