Move primes to separate file