Updates #22 + error handler
fix #22 + config params error handling