Implemented missing function calls in setup method
Implemented error output on configuration errors