Adding new features to config and minor updates

I have no updated the code making it even more cleaner although there is
still a long way to go, config.php now has two new options error
reporting on or off and choices of methods GET or POST.