Removing unnecessary and configuration
Improving configuration load.

Better explanation if there is a error.