Extracted IsValidEmail
Move isHexadecimal to utilities
Formatting fixes