Made the python module a proper module; and added some utility functions asvalue, asscaled and units.