add conversion and more helper utils
Add Logger and utilities to accompany it
return 0 for invalid decimal character
deserialize hex strings