PHP Simple cms - Build pattern