added utility.py (escape, calc_date).