Added transaction processing with chain of responsibility pattern.