Moved the GridFS service logic into an actual service