Polishing up the units mechanism a bit

mostly documentation and tests