Created AbstractFactory and CashRegisterFactory.
The cash register in Startup is not created through an AbstractFactory.