Replace Register with Register and RegisterName. Add a reverseString function to util