Change BarotropicModel to base class

Other variants should derive from this base class.