Add config file
Add config file to maven build
print errors correctly