added Sieve and RangeFactor classes