Combine the margarine and a small portion of fondant icing sugar in a mixer, then add the fondant icing sugar in several batches until completely dissolved and emulsified. Flavour and/or colour as desired for the various applications.