SMS: Geometric invariant theory