WIP: new attempt at dtopotools.py module and class organization