Create commonfuncts.py