add settings structure
add simple stderr-logging, icat-style