Validate received parameters
Merge pull request #3 from xaque208/validation

Validate received parameters