Load handler.config

Resolved most of the issues stated in earlier pull request feedback 
Added Error Handling module 
Do required error handling too