generalisations of the concept of modulo and gcd, lcm for Fractions