refactor draw.py to drawutil.py class