Added file dzs.py. Basic functionality implemented.