create MyStaticInit function

dynamically set some variables in the class based on included conf file