SMS: Differentiable germs and catastrophes