logging + fix s3 uploading
a bit of refactoring
architecture specific packages
refactoring + support for i386 arch