Working with Meta classes, Factories and popular design patterns.