Divisibility and Congruences — Laying the Foundations of Number Theory