WIP - it works mostly now, some bits missing
Merge remote-tracking branch 'origin/master'
Various changes:

Added config file handling (YAML based, with default fallback)
Added command line parameters
Added logging
Added support for SESAM_CONF, SESAM_LOGS and SESAM_DATA