Fixing initialization issue and dealing with the parsing error case
Cleaning up the code
Refactoring and fixing tests
Adding tests for conversion functions
Adding temperature conversion
Fixing reference unit update
Adding weight conversion