Added Error Handling system
Merge pull request #46 from vcardins/master

Added Error handling system