Chapter 3.2 : Starting with the PEmptyControlBackend
The PEmptyControlBackend is a good starting point to avoid creating a backend from scratch. It is empty but has all methods implemented to do nothing. Then you can complete it with you own functionnalities and you prefered library.