B00001 measuring units crud

Added conversions and generic CRUD stuff.