Site wide configuration


I have a profile with the fields that like name, birthday,etc.

Just want to add these fields configurable in the admin settings so that admin can change, for instance, the length of a name or otherwise has some value by default.

I know, I need to create an entity and add these sort pf things to that as a meta data. The problem is I do not know where to inialise this as this should be inialised when the plugin is getting enabled.


I was thinking to this with the site entity (elggsite). Is it a good approach? 

So, please let me know what is the conventional way of doing this.