Improve Error Handling with invalid config

Implement Error Handling when an invalid config is parsed.
Merge pull request #14 from fpringvaldsen/error-handling

Improve Error Handling with invalid config