Implementation of Design Patterns