refactor and add s3
fix configuration for upyun
move to compat
s3 can read, write, save now