Df units

Implement class to keep information about field units and output them in appropriate format.
Move units setting to creation of the fields.