logging stuff
config and template