Moves sum of proper divisors function to common module