Hello Nilufar,
you can create your own configuration-module on the same way like the sample from the AutoPriorityIncrease.
What do you want to do with the generic agent.
In the most cases, the handling and flexibility of generic agents by using the web interface is more
comfortable.
Best regards, Tino Voigt