add init for main plugin php, move a function from settings.php to main.php, add sanitize function in settings.php.