Creating customPages system. Constructing db, model, controller.