add defaultconfig file and logging