Don't copy setting but rather get only reference to settings. Setting of PID are based on application and therefore there is a structure of setting. So we don't need to have duplicate information of structures...
So change configuration structure to pointer to that structure instead:

Don't copy setting but rather get only reference to settings. Setting of PID are based on application and therefore there is a structure of setting. So we don't need to have duplicate information of structures...
So change configuration structure to pointer to that structure instead:
