s3n support
conform to the coding style
Merge pull request #40 from hobinyoon/master

s3n support