Updates so the upload works with SST. Moved middlewares to bricks module
Version bump