util.py first commit

util.py first commit: included in 0.3 release