Changed exists method to support AWS S3 methods
Added maxAge configurable parameter