Change to use GridFS for storing images