Set up prime factorization. Can't render in same view.
Optimized primes
factoring controller, model, database. added flash output.