design pattern framework 4 0 c