Cartridge washing machine