* config: not properly loaded error
When a wrong config file was used, it result in a panic.
Adding some check condition to validate the Unmarshaled configuration
before using it
fixes#134
* check if datasource is set
* move error locally instead of utils/errors