reduce library to s3 and dependencies

Signed-off-by: Markus Jura <markus.jura@googlemail.com>