Add function preloadPaclets and propertyWithUnits
Cleanup indention and don't pollute global scope
Add functions quantity and unitConvert