core for modules options settings