Refactored: Extracted TransactionDataBaseFactory.
Refactored: Fixed naming of TransactionDatabase.