Step 1 of APriori reorganized; new abstraction layer for transactions: they can be saved in the memory or read from the file