Added ratio to CompositeNutrient (old name: CompoundNutrient) + some general refactoring