add comments to config
use logging system