How to build a control model for BLE Mesh

I like to build a node act as client as well as server. Is it possible to build as control model in mesh and shall i get any example for control model. Please give me any suggestion related to this