New Database class to read the transactions in a file