refactoring settings page and small emprovement for templates
ref settings pages and ref internal templates for integrated with the mechanism of child and parent themes