Updates to amazon s3 , slight refactor , setup basic gallery page