Added Command and Simple Factory patterns