add init config part 1
manual merge
add s3 config on init
add s3 config