add Makefile
add support for s3 storage