Validator refactored to parse $message properly
Merge pull request #3 from EuKov/master

Validator refactored to parse $message properly