Factor out Sugar module