minor tweaks to config class
minor tweak to include.php
and some cleanuo of the search module.