Update cdbfunctions.py

Removed some functions to be placed in another file. Added the get_age_breakdown function.