Update and rename diman.py to quantity.py