Added abstract factory, factory method, singleton and initial Command pattern.