SMS: Metric affine geometry