Load handler.config

Resolved most of the issues stated in earlier pull request feedback 
Added Error Handling module 
I guess this part of code is not reworked according to the comments provided. 
This is very bad and frustrating for me.