Added Primes class with static initialization