Cosmo-units class. Also have wrapper code - not used yet