Create cdbfunctions.py