The command pattern has been modified.
SIngleton pattern has been added.
Slightly modified.